LearningStore Class

Represents a store

Namespace: Microsoft.LearningComponents.Storage

Assembly: Microsoft.LearningComponents.Storage.dll

Syntax
C#

public class LearningStore

Constructors
Name Description
Ð LearningStore (string, string)

Initializes a new instance of the LearningStore class.

Ð LearningStore (string, string, bool)

Initializes a new instance of the LearningStore class.

Ð LearningStore (string, string, ImpersonationBehavior)

Initializes a new instance of the LearningStore class.

Ð LearningStore (string, string, ImpersonationBehavior, bool)

Initializes a new instance of the LearningStore class.

Properties
Name Description
Ð ConnectionString

The connection string passed in the constructor

Ð Locale

Gets or sets the locale information used to convert property values or column values from one type to another.

Ð UserKey

The UserKey passed in the constructor

Methods
Name Description
ÐS ClearSchemaCache

Clears the schema cache.

Ð CreateJob

Create a new instance of the LearningStoreJob class.

Ð CreateQuery

Create a new instance of the LearningStoreQuery class

Ð EnableDebugLog

Enables debug log

Remarks

A store is a SQL Server 2005 database that contains learning-related data. A store contains a set of items. Each item maintains a set of properties. Any number of items may be stored in a store.

Manipulating the items in a store:

  1. Open the store by creating a new LearningStore instance.
  2. Call the CreateJob method to create a new job.
  3. Call methods on the returned LearningStoreJob to perform the necessary manipulations. See the LearningStoreJob documentation for more information.